package com.muyu.user.domain.model;

import java.math.BigDecimal;
import com.muyu.common.core.web.model.QueryModel;
import com.muyu.user.domain.req.SysUserBalanceQueryReq;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 余额变动查询请求模型对象
 *
 * @author liuguoqiang
 * @date 2025-09-18
 */
@Data
@SuperBuilder
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SysUserBalanceQueryModel extends QueryModel<SysUserBalanceQueryModel> {

    /**
     * 查询构造器
     */
    public static SysUserBalanceQueryModel reqBuild( SysUserBalanceQueryReq queryReq){
        SysUserBalanceQueryModel sysUserBalanceQueryModel = SysUserBalanceQueryModel.builder()
            .build();
        sysUserBalanceQueryModel.domainBuild(queryReq);
        return sysUserBalanceQueryModel;
    }
}
